package com.dj.repository;


import com.dj.bean.ProcedureRequestBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ProcedureRequestRespository extends JpaRepository<ProcedureRequestBean, String>, JpaSpecificationExecutor<ProcedureRequestBean> {

    List<ProcedureRequestBean> findByItemName(String name);

    List<ProcedureRequestBean> findByItemNameLike(String name);
}
